package com.pfdu.simplescheduler.strategy;

import com.pfdu.simplescheduler.common.Task;
import org.springframework.stereotype.Component;

/**
 * 任务筛选策略
 * 即通过乐观锁抢占任务
 */
@Component
public class DefaultFilter implements FilterStrategy{
    @Override
    public boolean accept(Task task) {
        return true;
    }
}
